package com.itheima.service;

import com.itheima.pojo.Role;
import com.itheima.entity.PageResult;
import java.util.List;

public interface RoleService {
    //查询角色信息
     public List<Role> findAll();

    //根据userids查询对应的roleIds
    List<Integer> findUserIdByroleids(Integer id);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void add(Role role, Integer[] permissions, Integer[] menus);

    void delete(Integer id);
}
